<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
use Laravel\Scout\Searchable;

class Video extends Model
{
    use Searchable;
    protected $fillable=['title','url'];
    public function lesson(){
        return $this->belongsTo (Lesson::class);
    }
}
